using Pinwheel.LSerialize;

namespace Pinwheel.Kernel
{
    public struct ServiceManagerConfig
    {
        public int ServerPort;
        public int MaxConnection;
        public int WorkProcessCount;

        public string NodeName;
        public List<NodeConfig> NodeList;
        
        public IBootstrap Bootstrap;
        public IClientAgentProvider ClientAgentProvider;
        public IMessageQueueProvider MessageQueueProvider;
    }
    
    public struct NodeConfig
    {
        public string Name;
        public string Host;
        public int Port;
    }
}